package com.ebraga.trackerclub.android.manager.api;


import java.util.List;

import com.ebraga.trackerclub.android.dao.entity.ChronometerAndroid;
import com.ebraga.trackerclub.android.exception.BackofficeDBConnectionException;
import com.ebraga.trackerclub.android.exception.manager.BackofficeIllegalArgumentManagerException;
import com.ebraga.trackerclub.android.exception.manager.BackofficeInvalidSessionManagerException;
import com.ebraga.trackerclub.android.exception.manager.BackofficeManagerException;

public interface ChronometerManager {
	
	/**
	 * Method responsible for storing Chronometer data from the device.
	 * 
	 * @param chronometerAndroid
	 */
	void sendChronometerData(ChronometerAndroid chronometerAndroid) throws BackofficeIllegalArgumentManagerException , 
		BackofficeDBConnectionException , BackofficeInvalidSessionManagerException , BackofficeManagerException;	
	
	/**
	 * Method responsible list Chronometer data from the device.
	 * 
	 * @param chronometerAndroid
	 * @return 
	 */
	List<ChronometerAndroid> list() throws BackofficeIllegalArgumentManagerException , 
		BackofficeDBConnectionException , BackofficeInvalidSessionManagerException , BackofficeManagerException;	
	
}
